package com.k.ServiceImport;

import javax.annotation.Resource;

import org.k.Dao.GenericDao;
import org.k.ServiceImpl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import com.k.Model.TbHr;
import com.k.Service.TbhrService;

//public class TbhrServiceImport extends BaseServiceImpl<TbHr> implements TbhrService {
@Service("tbhrservice")
public class TbhrServiceImport extends org.k.ServiceImpl.GenericServiceImpl<TbHr,Integer> implements TbhrService {
 
	@Resource(name="tbhrDaoImport")
	private GenericDao<TbHr,Integer> tbhrDao;
	
	@Override
	protected GenericDao<TbHr,Integer> getDAO() {
		return tbhrDao;
	}

	public GenericDao<TbHr,Integer> gettbhrDAO() {
		return tbhrDao;
	}
	
	public void settbhrDAO(GenericDao<TbHr,Integer> tbhrDAO) {
		this.tbhrDao = tbhrDAO;
	}
}
